GUI Help > Create > createListBox

createListBox
int handle=createListBox(int x, int y, int width, int height, handle parent)

Description:
Creates a listbox. Listboxes are frames which show an array of items from which the user can select one.

Return Value:
Handle to the new gadget.

Parameters:
x X position of new gadget
y Y position of new gadget
width Width of new gadget in pixels
height Height of new gadget in pixels
parent Handle to the parent of the new gadget, or 0 for the main window
Remarks:
The same commands are used to manage listbox items as combobox items.

See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)